import {Routes} from 'Shared/utils/routeManager';
import {formatMessage} from './intl';
const routes = new Routes({
    query: {
        url: '/',
        title: formatMessage({
            id: 'routes.column.operation.query',
            defaultMessage: '列表'
        })
    },
    detail: {
        url: '/:id/detail',
        title: formatMessage({
            id: 'routes.column.operation.detail',
            defaultMessage: '详情'
        }),
        format: '/{0}/detail'
    },
    detailInvoice: {
        url: '/detailInvoice',
        title: formatMessage({
            id: 'routes.column.operation.detailInvoice',
            defaultMessage: '详情'
        }),
        format: '/detailInvoice'
    },
});

export default routes;
